package com.itliang.mapper.system;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itliang.core.model.entity.system.SysMenu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author liangzhuoyuan
 * @description 针对表【sys_menu(菜单表)】的数据库操作Mapper
 */
public interface SysMenuMapper extends BaseMapper<SysMenu> {

    /**
     * 根据用户id查询操菜单权限数据
     *
     * @param userId
     * @return
     */
    List<SysMenu> getMenuListByUserId(@Param("userId") Long userId);
}




